<?php $this->set('title', 'Register for CellSurv'); ?>
<div class="paddedHeader">Register for CellSurv</div>
<?php echo($form->create('User', array('action' => 'register'))); ?>

<table border="0" cellpadding="0" width="100%"> <!--background="http://www2.tulane.edu/images/babies.jpg"-->
	<td title="User Info" align="left">
		<table title="User Info" border="0" cellpadding=="0" cellspacing="0">
			
			<tr>
				<td class="leftcell">
					First Name:
				</td>				
				<td class="rightcell">
					<?php echo($form->error('User.firstname', array('class' => 'errMsg'))); ?>
					<?php echo($form->text('User.firstname')); ?>
				</td>
			</tr>
			<tr>
				<td class="leftcell">
					Last Name:
				</td>				
				<td class="rightcell">
					<?php echo($form->error('User.lastname', array('class' => 'errMsg'))); ?>
					<?php echo($form->text('User.lastname')); ?>
				</td>
			</tr>
			<tr>
				<td class="leftcell">
					Email Address:
				</td>				
				<td class="rightcell">
					<?php echo($form->error('User.email', array('class' => 'errMsg'))); ?>
					<?php echo($form->text('User.email')); ?>
				</td>
			</tr>
			<tr>
				<td class="leftcell">
					Username:
				</td>				
				<td class="rightcell">
					<?php echo($form->error('User.username', array('class' => 'errMsg'))); ?>
					<?php echo($form->text('User.username')); ?>
				</td>
			</tr>
			<tr>
				<td class="leftcell">
					Password:
				</td>				
				<td class="rightcell">
					<?php echo($form->error('User.password', array('class' => 'errMsg'))); ?>
					<?php echo($form->password('User.password', array('value' => ''))); ?>
				</td>
			</tr>
			<tr>
				<td class="leftcell">
					Re-enter Password:
				</td>				
				<td class="rightcell">
					<?php echo($form->error('User.password2', array('class' => 'errMsg'))); ?>
					<?php echo($form->password('User.password2', array('value' => ''))); ?>
				</td>
			</tr>
			<tr>
				<td class="leftcell">
					Role:
				</td>				
				<td class="rightcell">
					<?php echo($form->error('User.role', array('class' => 'errMsg'))); ?>
					<!-- <?php echo ($form->input('Role', array( 'type' => 'select', 'multiple' => 'checkbox', 'label' => ''))); ?> -->
					<?php echo($form->checkbox('User.role')); ?>
					<?php echo($form->label('Presenter')); ?>
				</td>
			</tr>
			<tr>
<!--			<td class="center" colspan="2">
					<?php echo $form->end('Submit'); ?>
					<br />
				</td> -->
			</tr>
			
		</table>
	</td>


	<td title="Terms of Service" align="">
		<table title="Terms of Service" border="0" cellpadding="0" cellspacing="0" cell>		
			<tr>
				<td align="center">
					<br> 
					<div align="center">
					<div style="height:350px;width:450px;border-style:solid;border-width:thin;font:Georgia;font-size:medium;overflow:scroll;">
							<h3>Terms of Service</h3>
							The following are the terms of service.  By reading these terms you agree to follow them 
							and will be prosecuted for any deviation from these terms of service.<br>
							<br><br><br><br><br><br><br><br><br><br><br><br><br>
					</div>
					</div>
					<br>
				</td>
			</tr>
			<tr>
				<td>	
					<?php echo($form->error('User.terms', array('class' => 'errMsg'))); ?>
					<?php echo $form->checkbox('User.terms'); ?> I agree to the terms of service <br><br>				
				</td>
			</tr>	
		</table>
	</td>
	
	<td title="Submit button" align="left">
		<tr>
			<td class="center" colspan="2">
				<?php echo $form->end('Submit'); ?>
				<br />
			</td>
		</tr>
</table>
</form>
